package com.blb.ssm.entity;


/**
 * 供应商supplier
 * @author Administrator
 *
 */
public class Supplier {
	private String sid;   	//供应商主键
	private String scom;	//供应商名称
	private String stype;	//供应商分类
	private String sname;	//供应商联系人
	private String stel;	//供应商联系电话
	private String spay;	//供应商默认付款方式
	private double sagio;	//供应商采购折扣
	private String sadd;	//供应商地址
	private String smsg;	//供应商备注
	private int sdef;		//供应商是否为默认供应室
	private int sstage;		//供应商是否停用

	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public String getScom() {
		return scom;
	}
	public void setScom(String scom) {
		this.scom = scom;
	}
	public String getStype() {
		return stype;
	}
	public void setStype(String stype) {
		this.stype = stype;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getStel() {
		return stel;
	}
	public void setStel(String stel) {
		this.stel = stel;
	}
	public String getSpay() {
		return spay;
	}
	public void setSpay(String spay) {
		this.spay = spay;
	}
	public double getSagio() {
		return sagio;
	}
	public void setSagio(double sagio) {
		this.sagio = sagio;
	}
	public String getSadd() {
		return sadd;
	}
	public void setSadd(String sadd) {
		this.sadd = sadd;
	}
	public String getSmsg() {
		return smsg;
	}
	public void setSmsg(String smsg) {
		this.smsg = smsg;
	}
	public int getSdef() {
		return sdef;
	}
	public void setSdef(int sdef) {
		this.sdef = sdef;
	}
	public int getSstage() {
		return sstage;
	}
	public void setSstage(int sstage) {
		this.sstage = sstage;
	}
	public Supplier() {
		super();
	}
	public Supplier(String sid, String scom, String stype, String sname, String stel, String spay, double sagio,
			String sadd, String smsg, int sdef, int sstage) {
		super();
		this.sid = sid;
		this.scom = scom;
		this.stype = stype;
		this.sname = sname;
		this.stel = stel;
		this.spay = spay;
		this.sagio = sagio;
		this.sadd = sadd;
		this.smsg = smsg;
		this.sdef = sdef;
		this.sstage = sstage;
	}
	@Override
	public String toString() {
		return "supplier [sid=" + sid + ", scom=" + scom + ", stype=" + stype + ", sname=" + sname + ", stel=" + stel
				+ ", spay=" + spay + ", sagio=" + sagio + ", sadd=" + sadd + ", smsg=" + smsg + ", sdef=" + sdef
				+ ", sstage=" + sstage + "]";
	}
	
}
